package com.rubiksillusions;

public class TransformationArrayMaker {
	public static void main(String[] args) {
		String oldString = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ12";
		RubiksCube rubiksCube = new RubiksCube(oldString);
		rubiksCube.executeMovesList("D'", true);
		String newString = rubiksCube.getFaceletsString();
		
		System.out.print("{ ");
		for (int i = 0; i < 54; i++) {
			char oldChar = oldString.charAt(i);
			for (int j = 0; j < 54; j++) {
				char newChar = newString.charAt(j);
				if (oldChar == newChar) {
					System.out.print(j + ", ");
				}
			}
		}
		System.out.println(" }");
	}
}
